<template>
  <div class="logCap mar-t-10">
    <el-input v-model="logCapForm.phone" placeholder="请输入手机号或邮箱" />
    <el-input v-model="logCapForm.captch" placeholder="请输入验证码" />
    <el-button type="info" :disabled="disableCaptcha" @click="sendCaptcha(logCapForm.phone)">
      send captcha{{ disableCaptcha ? `(${captchaTime})` : '' }}
    </el-button>
    <el-button type="info" @click="logCap_confirmForm()">
      点击验证
    </el-button>
  </div>
</template>

<script>
import login from "@/mixin/login.js";
import captcha from '@/mixin/captcha';
export default {
  name: 'LogCap',
  mixins: [login, captcha],
  data() {
    return {
      captchaType: 'login'
    };
  },
  async mounted() {
  },
  methods: {
  }
};
</script>
<style lang="less" scoped>
@import '../../assets/css/reset.less';

</style>
